PreviousNextTracker indexSee it online !

(194/314) 3523254 - PHPParser: Parse error reported incorrectly

<?php

$foo = array("one" => 1);

?>

<?php if($foo) { ?>

<?=$foo["one"]?>

<?php } ?>


We get a parse error on the line

<?=$foo["one"]?>

Says it expects a <?php.

Submitted brianlmoon - 2012-05-03 - 14:53:24z Assigned kpouer
Priority 5 Category None
Status Open Group None
Resolution None Visibility No

Comments

Attachments